// src/store/index.ts
import { createPinia, type Pinia } from 'pinia'
import piniaPluginPersist from 'pinia-plugin-persist' // ✅ 类型已正确识别

const store: Pinia = createPinia()
store.use(piniaPluginPersist)

export default store
